#include <stdio.h>
int main()
{
	printf("please input x;\n");
	int x;
	double y;
	scanf("%d", x);
	if (x != 0) {
		y = 1 / x;
	}
	else {
		y = 0;
	}
	printf("%.2f\n", y);
	return 0;
}